package com.lanou3g.ptp.grade.service;

import com.lanou3g.ptp.entity.Grade;
import com.lanou3g.ptp.entity.GradeRole;

import java.util.List;

public interface GradeRoleService {
    void addGradeRole(GradeRole gradeRole);
    void deleteById(Long id);
    void updateById(GradeRole gradeRole);
    List<GradeRole> findAll();
    GradeRole findById(Long id);

    List<GradeRole> findByGradeId(Long gradeId);

    List<GradeRole> findByStudentId(Long studentId);


    void deleteByGradeId(Long id);
}
